package com.wanxi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(description = "新闻表")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class NewsDTO {

    @ApiModelProperty(value = "新闻内容",required = true)
    private String newsContent;

    @ApiModelProperty(value = "新闻图片",required = true)
    private String newsImage;

    @ApiModelProperty(value = "新闻链接",required = true)
    private String newsUrl;
}
